
/* 响应式设计 */
@media (max-width: 992px) {
    /* 头部样式 */
    .header .search-bar {
        width: 200px;
    }

    .header .main-menu {
        gap: 1rem;
    }

    /* 栏目 */
    .nav-section.card-navigation {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .nav-section .icon-subcategories {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    /* 会员列表 */
    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .simple-users-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .list-users .list-user-card {
        flex-wrap: wrap;
    }

    .list-users .list-user-card .user-actions {
        width: 100%;
        margin-top: 1rem;
    }

    /* 轮播图 */
    .hero-carousel .carousel-item {
        height: 400px;
    }

    .posts-carousel .carousel-item {
        height: 380px;
    }

    .fullwidth-carousel .carousel-item {
        height: 400px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    /** 友情链接 **/
    .img-links {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .article-links {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    /* 列表 */
    .content-list .content-item .article-thumbnail {
        width: 100px;
        height: 70px;
    }

    .content-list .content-item .voting-progress {
        width: 80px;
        height: 80px;
    }

}

@media (max-width: 768px) {
    /* 头部样式 */
    .header .left-links, .header .right-links {
        gap: 1rem;
    }

    .header .top-link span {
        display: none;
    }

    .header .top-link {
        gap: 0;
    }

    .header .nav-container {
        flex-direction: column;
        padding: 0.5rem 0;
    }

    .header .search-bar {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .header .main-menu {
        flex-wrap: wrap;
        justify-content: center;
    }


    /* 栏目 */
    .nav-section .main-categories .main-category {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .nav-section .subcategories {
        gap: 0.5rem 1rem;
    }

    .nav-section.card-navigation {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .nav-section .category-card .category-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* 会员列表 */

    .multi-image-user-card {
        flex-direction: column;
    }

    .multi-image-user-card .user-avatar-container {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
    }

    .multi-image-user-card .avatar {
        margin-bottom: 0;
    }

    .grid-users {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    /* 轮播图 */
    .hero-carousel .carousel-item {
        height: 320px;
    }

    .hero-carousel .carousel-item .carousel-caption {
        padding: 1.5rem;
    }

    .hero-carousel .carousel-item .carousel-caption .carousel-title {
        font-size: 1.5rem;
    }

    .posts-carousel .carousel-item {
        height: 350px;
    }

    .products-carousel .carousel-item  .product-image {
        height: 150px;
    }

    .custom-carousel .carousel-title {
        font-size: 1.25rem;
    }

    .fullwidth-carousel .carousel-item {
        height: 320px;
    }

    .fullwidth-carousel .carousel-title-lg {
        font-size: 1.5rem;
    }

    .card-carousel .carousel-item  .carousel-card-img {
        height: 160px;
    }


    /** 友情链接 **/
    .grid-links {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .icon-links .icon-link-item {
        min-width: 100%;
    }

    .logo-links2 {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }


    /* 列表 */
    .content-module .module-body .article-item {
        flex-direction: column;
    }

    .content-module .module-body .article-img {
        width: 100%;
        height: 160px;
    }

    .content-module .module-body .event-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }


    .content-module .module-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .content-list .content-item .item-meta {
        gap: 12px;
        font-size: 0.8rem;
    }

    .content-list .content-item .voting-progress {
        width: 70px;
        height: 70px;
    }

    .content-list .content-item .progress-ring-circle, .content-list .content-item .progress-background {
        stroke-width: 5;
    }


}

@media (max-width: 576px) {
    /* 头部样式 */
    .header .logo-container {
        flex-direction: column;
        gap: 1rem;
    }

    .header .user-actions {
        width: 100%;
        justify-content: center;
    }

    .header .main-menu {
        gap: 0.75rem;
    }

    .header .menu-link span {
        display: none;
    }

    .header .menu-link {
        padding: 0.75rem;
    }

    .header .menu-link .badge {
        top: 0;
        right: 0;
    }


    /* 栏目 */
    .nav-section.card-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .nav-section .icon-subcategories {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .nav-section .icon-subcategories .subcategory-name {
        font-size: 0.8rem;
    }

    /* 会员列表 */
    .users-grid {
        grid-template-columns: 1fr;
    }

    .simple-users-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-icon {
        margin-bottom: 0.5rem;
    }

    .list-users .list-user-card .user-info {
        margin-right: 0;
    }

    .user-card .user-info .user-stats {
        flex-wrap: wrap;
    }

    /* 轮播图 */
    .hero-carousel .carousel-item {
        height: 260px;
    }

    .hero-carousel .carousel-item .carousel-caption .carousel-text {
        display: none;
    }

    .posts-carousel .carousel-item {
        height: 320px;
    }

    .posts-carousel .carousel-item .post-image {
        height: 160px;
    }

    .fullwidth-carousel .carousel-item {
        height: 250px;
    }

    .mini-content-carousel .carousel-item .mini-content-card {
        height: 100px;
    }

    .mini-content-carousel .carousel-item .mini-content-img {
        width: 80px;
    }


    /** 友情链接 **/
    .img-links {
        grid-template-columns: 1fr;
    }

    .img-links .img-link-item {
        flex-direction: column;
    }

    .img-links .img-link-item .image {
        width: 100%;
        height: 160px;
    }

    .article-links{
        grid-template-columns: 1fr;
    }

    .word-links {
        justify-content: center;
    }

    .logo-links2 {
        grid-template-columns: repeat(2, 1fr);
    }


    /* 列表 */
    .content-module .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .content-module .module-body {
        padding: 0.75rem;
    }

    .content-module .module-body .event-list {
        grid-template-columns: 1fr 1fr;
    }

    .content-module .module-body .article-meta {
        flex-wrap: wrap;
    }

    .content-list .content-item {
        flex-direction: column;
        padding: 15px 0;
    }

    .content-list .content-item .article-thumbnail, .content-list .content-item .question-status, .content-list .content-item .event-date, .content-list .content-item .voting-progress, .content-list .content-item .horoscope-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }

    .content-list .content-item .article-thumbnail {
        width: 100%;
        height: 150px;
    }

    .content-list .content-item .question-status, .content-list .content-item .event-date {
        width: auto;
        display: inline-block;
    }

    .content-list .content-item .voting-progress {
        margin: 0 auto 12px;
    }

    .content-list .content-item .horoscope-icon {
        margin: 0 auto 12px;
    }

    .content-list .content-item .item-title {
        font-size: 1rem;
    }


}

